package cn.cmeizu.spring6.iocxml.factorybean;

import org.springframework.beans.factory.FactoryBean;

/**
 * @author cmeizu
 * @date 2023/2/9 22:51
 */
public class MyFactoryBean implements FactoryBean<User> {
  @Override
  public User getObject() throws Exception {
    return new User();
  }

  @Override
  public Class<?> getObjectType() {
    return User.class;
  }
}
